﻿using YamlDotNet.Serialization;

namespace SuiHan.Commons.Daemon.Config {
    /// <summary>
    /// 路径监听配置
    /// </summary>
    public class ProcessPathDaemonConfig : AbstractDaemonConfig {
        /// <summary>
        /// 可执行程序绝对路径
        /// </summary>
        [YamlMember(Alias = "executor-path", ApplyNamingConventions = false)]
        public string ExecutorPath { get; set; }

        /// <summary>
        /// 启动脚本
        /// </summary>
        [YamlMember(Alias = "run-script", ApplyNamingConventions = false)]
        public string RunScript { get; set; }

        /// <summary>
        /// 运行参数
        /// </summary>
        public string Arguments { get; set; }
    }
}
